<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Add Student</title>
</head>
<body>
    <h1>Add New Student</h1>
    <form method="post">
        <label for="Sno">Student Number (Sno):</label>
        <input type="text" id="Sno" name="Sno" required><br><br>

        <label for="Sname">Student Name (Sname):</label>
        <input type="text" id="Sname" name="Sname" required><br><br>

        <label for="Ssex">Sex (Ssex):</label>
        <input type="text" id="Ssex" name="Ssex" required><br><br>

        <label for="Sage">Age (Sage):</label>
        <input type="number" id="Sage" name="Sage" required><br><br>

        <label for="Dno">Department Number (Dno):</label>
        <input type="text" id="Dno" name="Dno" required><br><br>

        <label for="Sclass">Class (Sclass):</label>
        <input type="text" id="Sclass" name="Sclass"><br><br>

        <label for="address">Address:</label>
        <input type="text" id="address" name="address"><br><br>

        <input type="submit" value="Add Student">
    </form>
    <a href="{{ url_for('index') }}">Back to List</a>
</body>
</html>